import 'package:desktop_window/desktop_window.dart';
import 'package:flame/game.dart';
import 'package:flutter/material.dart';
import 'package:hero_back/study/flutter_game_flame/day005/menu/main_menu.dart';

import 'game.dart';
import 'menu/pause.dart';

main() {
  runApp(GameApp());
  DesktopWindow.setWindowSize(Size(700, 600));
}

class GameApp extends StatelessWidget {
  const GameApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      themeMode: ThemeMode.dark,
      darkTheme: ThemeData(
        brightness: Brightness.dark,
      ),
      home: MainMenu(),
    );
  }
}

